package com.itheima.demo1;

import java.util.Random;

public class Demo1 {
    public static void main(String[] args) {
        method(( a, b)->a+b);
    }
    public static void method(Inter inter){
       int i= inter.show(4,5);
        System.out.println(i);
    }
}
interface Inter{
  int show(int a,int b);
}
